

__device__ inline float calloption(float final, float strike) {
	float val = final - strike;
	return val > 0.0f ? val : 0.0f;
}

__device__ inline float putoption(float final, float strike) {
	float val = strike - final;
	return val > 0.0f ? val : 0.0f;
}
